package com.zhentao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.model.dto.system.SysRoleDto;
import com.zhentao.model.entity.system.SysRole;

import java.util.List;

/**
* @author 懒阳阳
* @description 针对表【sys_role(角色)】的数据库操作Mapper
* @createDate 2025-02-08 14:45:04
* @Entity com.zhentao.domain.SysRole
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> findByPage(SysRoleDto sysRoleDto);

    void updateRoleById(SysRole sysRole);

    void deleteRoleById(Long roleId);

    List<SysRole> findAllRoles();
}




